package com.ktgj.pay.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 支付类型对象 pay_type
 * 
 * @author ruoyi
 * @date 2022-01-08
 */
public class PayType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long payId;

    /** 支付类型名称 */
    @Excel(name = "支付类型名称")
    private String payName;

    /** 支付方式（微信、支付宝、银联、银行卡） */
    @Excel(name = "支付方式", readConverterExp = "微=信、支付宝、银联、银行卡")
    private String payType;

    /** 支付公司信息（金色世纪、逸程、去玩吧） */
    @Excel(name = "支付公司信息", readConverterExp = "金=色世纪、逸程、去玩吧")
    private String payInfo;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createName;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long updateName;

    public void setPayId(Long payId) 
    {
        this.payId = payId;
    }

    public Long getPayId() 
    {
        return payId;
    }
    public void setPayName(String payName) 
    {
        this.payName = payName;
    }

    public String getPayName() 
    {
        return payName;
    }
    public void setPayType(String payType) 
    {
        this.payType = payType;
    }

    public String getPayType() 
    {
        return payType;
    }
    public void setPayInfo(String payInfo) 
    {
        this.payInfo = payInfo;
    }

    public String getPayInfo() 
    {
        return payInfo;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCreateName(Long createName) 
    {
        this.createName = createName;
    }

    public Long getCreateName() 
    {
        return createName;
    }
    public void setUpdateName(Long updateName) 
    {
        this.updateName = updateName;
    }

    public Long getUpdateName() 
    {
        return updateName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("payId", getPayId())
            .append("payName", getPayName())
            .append("payType", getPayType())
            .append("payInfo", getPayInfo())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("createName", getCreateName())
            .append("updateTime", getUpdateTime())
            .append("updateName", getUpdateName())
            .toString();
    }
}
